/*
 * @Author: wuzhen
 * @Date: 2019-12-06 09:42:51
 * @LastEditors: wuzhen
 * @LastEditTime: 2019-12-06 10:00:01
 * @Description: 全局过滤器
 */
export const isNullOrEmpty = function(val) {
  if (val === null || val === "" || typeof val === "undefined") {
    return "--";
  } else {
    return val;
  }
};
